export namespace SystemAction {
  export class Copy {
    static readonly type = `复制文本`;

    constructor(public text: string, public title?: string) {
    }
  }

  export class Jump {
    static readonly type = `新窗口跳转`;

    constructor(public url: string) {
    }
  }

  export class SaveTempData {
    static readonly type = `保存临时数据`;

    constructor(public data: any) {
    }
  }

  export class ChangeCollapsed {
    static readonly type = `改编菜单栏收缩状态`;
  }

  export class Login {
    static readonly type = `登录`;

    constructor(public data: any) {
    }
  }

  export class Logout {
    static readonly type = `注销`;
  }


  export class SaveEmailAddr {
    static readonly type = `保存邮箱地址`;

    constructor(public emailAddr: string) {
    }
  }
}
